<?php
return [
    'components' => [
        'request' => [
            // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
            'cookieValidationKey' => 'TxLtQuCOdKfyTUvgah9dl444gFrUjnMd',
        ],
        'authClientCollection' => [
            'class' => 'yii\authclient\Collection',
            'clients' => [
                'qq' => [
                    'class' => 'common\modules\user\components\authclient\QqAuth',
                    'clientId' => '',
                    'clientSecret' => ''
                ],
                'github' => [
                    'class' => 'yii\authclient\clients\GitHub',
                    'clientId' => '',
                    'clientSecret' => ''
                ],
                'live' => [
                    'class' => 'yii\authclient\clients\Live',
                    'clientId' => '',
                    'clientSecret' => ''
                ]
            ]
        ],
    ],
    'modules' => [
        'gii' => [
            'class' => 'yii\gii\Module',
            'generators' => [
                'crud' => [
                    'class' => 'yii\gii\generators\crud\Generator',
                    'messageCategory' => 'frontend'
                ]
            ]
        ]
    ]
];
